Align fp IDE template file paths with Debian standards
authorAbou Al Montacir <abou.almontacir@sfr.fr>
Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)
committerAbou Al Montacir <abou.almontacir@sfr.fr>
Mon, 4 Sep 2023 20:43:35 +0000 (21:43 +0100)
commitaa903e6781cb792a574304b4c55573ab4ef453fb
tree3b5d64cc84895cc3afc877e379bf2d4c4d87be0f
parentb30d10e5bb803b9795e0380b74921cd519072e41
Align fp IDE template file paths with Debian standards

 The fp IDE looks for template files in /usr/bin where itself is installed.
 However this is not conform with Debian standard for file locations.
 This patch fixes this by making the IDE looking for templates in the base
 installation directory.
 Location of IDE template files in Debian distribution is:
 /usr/lib/$(DEB_TARGET_MULTIARCH)/fpc/3.2.2/ide/
 as for examples:
 /usr/lib/x86_64-linux-gnu/fpc/3.2.2/ide
 /usr/lib/arm-linux-gnueabihf/fpc/3.2.2/ide
index 54d0ffd1..39ae6079 100644

Gbp-Pq: Name fix-IDE-data-file-location.patch
fpcsrc/packages/ide/fpcompil.pas
fpcsrc/packages/ide/fpini.pas
fpcsrc/packages/ide/fpmake.pp
fpcsrc/packages/ide/fpswitch.pas